<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/14
  Time: 19:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html>
<%
    pageContext.setAttribute("APP_PATH",request.getContextPath());
%>
<head>
    <meta charset="UTF-8">
    <title>ERP系统 - 合同信息详情查看</title>
    <link rel="stylesheet" href="${APP_PATH}/static/css/main.css">
    <link rel="stylesheet" href="${APP_PATH}/static/lib/font-awesome/css/font-awesome.css">
</head>
<body>
    <div class="box">
        <h3>合同信息详情</h3>
        <form action="#" method="post" >
            <table class="form-table" >

                <tr>
                    <td class="label">合同编号</td>
                    <td colspan="3" class="detail">
                        ${contract.cId}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同房子序号</td>
                    <td colspan="3" class="detail">
                        ${contract.hId}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同房子地址</td>
                    <td colspan="3" class="detail">
                        ${contract.house.hAddress}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同房子面积</td>
                    <td colspan="3" class="detail">
                        ${contract.house.hArea}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同租户序号</td>
                    <td colspan="3" class="detail">
                        ${contract.lId}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同租户姓名</td>
                    <td colspan="3" class="detail">
                        ${contract.lessee.lName}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同租户手机号</td>
                    <td colspan="3" class="detail">
                        ${contract.lessee.lTel}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同租户身份证号</td>
                    <td colspan="3" class="detail">
                        ${contract.lessee.lIdcard}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同签订时间</td>
                    <td colspan="3" class="detail">
                        ${contract.cTime}
                    </td>
                </tr>
                <tr>
                    <td class="label">合同生效时间</td>
                    <td colspan="3" class="detail">
                        ${contract.cTaketime}
                    </td>
                </tr>

                <tr>
                    <td class="label">合同失效时间</td>
                    <td colspan="3" class="detail">
                        ${contract.cOvertime}
                    </td>
                </tr>
                <tr>
                    <td class="label">房租总额</td>
                    <td colspan="3" class="detail">
                        ${contract.cRental}
                    </td>
                </tr>
                <tr>
                    <td class="label">支付方式</td>
                    <td colspan="3" class="detail">
                        ${contract.cCash}
                    </td>
                </tr>

            </table>
            <div class="buttons">
                <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
            </div>
        </form>
    </div>
</body>
</html>
